import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/pages/index.vue'
const Orderlist = () => import('@/pages/orderlist.vue')
const Ordersucess = () => import('@/pages/ordersucess.vue')
const Myorder = () => import('@/pages/myorder.vue')

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    { path: '/orderlist', component: Orderlist },
    { path: '/ordersucess', component: Ordersucess },
    { path: '/myorder', component: Myorder }
  ]
})
